package com.zucai365.football.service;

import java.util.List;

import com.wcj.common.service.WcjService;
import com.zucai365.football.bean.FootballPlayerBean;
import com.zucai365.football.bean.FootballTeamBean;
import com.zucai365.football.bean.LianSaiBean;
import com.zucai365.football.bean.LianSaiYearBean;
import com.zucai365.football.bean.TeamPlayerBean;

public interface TeamPlayerService extends WcjService<TeamPlayerBean>{
	
	public void saveTeamPlayer( FootballTeamBean footballTeam,LianSaiBean liansai,LianSaiYearBean liansaiYear,
			List<FootballPlayerBean> footballPlayerList );
	
	TeamPlayerBean getTeamPlayer( Long lianSaiYearId, Long lianSaiId,Long footballTeamId , String playerId );
	
	List<TeamPlayerBean> getTeamPlayerList( Long lianSaiYearId, Long lianSaiId ,Long footballTeamId  );
	
	/**
	 * 统计上场时间
	 * @param lianSaiYearId
	 * @param lianSaiId
	 */
	void saveTeamPlayerPlayTime(  Long lianSaiId, Long lianSaiYearId );
	
	/**
	 * 统计红黄牌
	 * @param lianSaiYearId
	 * @param lianSaiId
	 */
	void saveTeamPlayerHongHuangPai(  Long lianSaiYearId, Long lianSaiId );
	
	/**
	 * 统计球员进球情况
	 * @param lianSaiYearId
	 * @param lianSaiId
	 */
	public void saveTeamPlayerJinQiu(  Long lianSaiYearId, Long lianSaiId );
}